<?php
namespace Admin\Controller;
use Think\Controller;
class IndexController extends Controller {
	public function __construct(){
		parent::__construct();
		if(!$_SESSION['admin_is_login']){
			$this->error('没有登录',U('admin/auth/logout'));
		}
	}	
    public function index(){
        $this->display();
    }
}